*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.red{
  color: red;
}
a{
  color: #000;
}
// 头部
.sitenav_header{
  height: 50px;
  display: flex;
  justify-content: space-between;
  // align-items: center;
  padding: 5px 10px;
  background-color:#ff841d;

  a{
    width: 50%;
    // height: 40px;
    background:url(../images/header_logo.png) no-repeat;
    background-size: 100%;
    background-origin: content-box;
    background-clip: content-box;
    padding: 8px ;
  }
  img{
    width: 40px;
    height: 40px;
    float: right;
  }
}
//搜索
.search{
  display: flex;
  justify-content: space-between;
  padding: 10px;
  input{
    width: 80%;
    height: 30px;
    border-radius: 15px;
    background: #f1f1f1;
    border:none;
    outline: none;
    text-indent: 20px;
  }
  a{

    height: 30px;
    padding: 5px 15px;
    background: #ff841d;
    border-radius: 15px;
    color: #fff;
  }
}
// 分类详情
.category_nav{
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
  border-bottom: 1px solid #ccc;
  .nav_btn{
    padding-top: 5px;
    >a{
      color: #000;
    }
  }
  .shaixuan{
    color: #000;
    padding: 5px 15px;
    background: #e6e6e6;
    border-radius: 10px;
  }
}

//商品详情
.pro_info{
  //商品标题
  overflow: hidden;
  .pro_title{
    padding: 10px 15px;
    h4{
      text-align: center;
    }
  }
  //商品图片
  .pro_img{
    text-align: center;
    position: relative;
    a{
      position: absolute;
      right: 20px;
      bottom: 5px;
      color: #fff;
      background: #8ccb00;
      padding: 12px 8px;
      border-radius: 50%;
    }
  }
  //3个按钮
  .pro_items{
    display: flex;
    margin-top: 10px;
    border-top: 1px solid #cd6f30;
    a{
      flex: 1;
      text-align: center;
      color: #fff;
      background: #ffc62c;
      padding: 3px 0;
      border-bottom: 1px solid #cd6f30;
      border-right: 1px solid #cd6f30;
    }

  }
}
// 描述
.miaoshu{
  color: #7e7b7b;
  line-height: 20px;
  font-size: 14px;
  margin-top: 10px;
  border-top: 1px solid #ccc;
}
//评论
.pro_comments{
  .comments_title{
    text-align: center;
    background: #ccc;
    line-height: 30px;
    margin-bottom: 10px;
  }
}
.comments_info{
  .info_content{
    margin-bottom: 5px;
    p{
      font-size: 12px;
      margin: 0 7px;
      color:#959595; 
    }
    .black{
      color: #000;
    }
  }
}
//查看更多
.comments_more{
  padding: 10px 5px ;
  a{
    display: block;
    width: 100%;
    text-align: center;
    line-height: 30px;
    border-radius: 6px;
    border:1px solid #ccc;
    background: #e3e3e3;
  }
}
//底部
.footer{
  border-top: 1px solid #ccc;
  // border-bottom: 1px solid #ccc;
  background: #efefef;
  .footer_btn{
    display: flex;
    border-bottom: 1px solid #ccc;
    text-align: center;
    a{
      flex: 3;
      color: #000;
      padding: 5px 15px;
      border-right: 1px solid #ccc;
    } 
    .to_top{
      flex:4;
      border:none;

    }
  }
  .footer_info{
    text-align: center;
    padding-top: 10px;
    :nth-child(1){
      color: red;
    }
    :nth-child(3){
      color: #a1a1a1;
    }
    p{
      color: #a1a1a1;
      margin: 0;
    }
  }
}